<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<%
	String msg =(String)request.getAttribute("msg");
	if(msg!=null){
		out.print("<h1>"+msg+"</h1>");
	}
%>
<form action="<%=request.getContextPath() %>/UserServlet" method="post">
		用户名:<input type="text" name="userName"><p>
		密码：<input type="password" name="password" ><p>
		验证码：<input name="verifyCode" type="text"/>
		<img border=0 src="<%=request.getContextPath() %>/VerifyServlet"><p>
		<input type="submit" value="登陆">
	</form>


</body>
</html>